Chapter 13 - Creating Business Rules for Your Web Site

Business Rules allow you to define conditions for Web pages on your site. You choose an action based on whether the conditions are true or false when a site visitor browses your site. For example:

Condition - a site visitor visits your site for the first time

Action - add a cookie to the site visitor’s system and pop up a welcome message

With Business Rules, you do not write code to set conditions and initiate actions. You simply complete the information requested in the Business Rules wizard, have your developer add a Business Rules server control to your Web form, and assign the server control the Business Rules Ruleset. See Also: BusinessRules Server Control

Business Rules start out with a Ruleset that is assigned an ID. Each Ruleset is made up of one or more rules. Rules are made up of conditions and actions. There are several predefined conditions and actions for rules in Ektron CMS400.NET.

Conditions include:

Cookie Parameter = value

Form Parameter = value

QueryString Parameter = value

Server Variable = value

Custom Parameter = value

Actions include:

Displaying a calendar

Displaying a message

Opening a URL in a new window

Popping up a message

Redirecting to a new URL

Setting a cookie value

Displaying a content block.

Once a rule is defined, you can add it to multiple Rulesets. This is useful if you have several groups of rules that use a common rule.

This section also contains the following topics.

Permission to Work with Business Rules

Selecting a Rule

Creating a New Business Rule Ruleset

Working with Rulesets

BusinessRules Server Control

Previous TopicNext Topic|